package com.jl.controller;

import com.jl.commons.utils.DateUnit;
import org.quartz.Scheduler;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "job")
public class JobController {



    //加入Qulifier注解，通过名称注入bean
    @Autowired

    private Scheduler scheduler;
    @Autowired
    private DateUnit dateUnit;

}
